home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / winsock / ircii2-6.zip / SRC\IRCII-2.6\SCRIPT\FINGER < prev    next >
Text File  |  1994-12-28  |  1KB  |  37 lines

  1. # Finger script III by Daemon.
  2. # 4-05-93
  3. #  Four forms are available.
  4. # finger nickname         will finger the user@host of the nickname
  5. # finger -h nickname      will finger the @host of the nickname
  6. # finger user@host.name   will finger the given user@host
  7. # finger @host.name       will finger the given @host.name
  8. # 4-10-93
  9. # Updated script to deal with output from 2.8.3-> servers. (# stuff)
  10. # updated for 2.2.2
  11. # updated for 2.2.5   (this doesn't mean much.. )
  12.  
  13. alias finger {
  14.     if (([$0] == [-h]) && ([$1] != []))
  15.     {
  16.         userhost $1 -cmd if ([$3] != [<UNKNOWN>])
  17.                 { eval exec exec finger @$$4 }
  18.                 { echo *** FINGER: no such nickname $1 }
  19.     }
  20.     {
  21.     if (index(@ $0) > -1)
  22.     {
  23.         exec -name finger exec finger $0
  24.     }
  25.     {
  26.     if ([$0])
  27.     {
  28.         userhost $0 -cmd if ([$3] != [<UNKNOWN>])
  29.                 { eval exec -name finger exec finger $$strip(~#> $3)@$$4 }
  30.                 { echo *** FINGER: no such nickname $0 }
  31.     }
  32.     {
  33.         echo *** Usage: finger [[-h] <nickname>][[user]@full.hostname]
  34.         echo *** e.g. finger bob, finger -h bob, finger robert@eff.org, or finger @eff.org
  35.     }}}
  36. }
  37.